/* 通用-自定义样式 */

.margin0 {
  margin: 0 !important;
}

.padding0 {
  padding: 0 !important;
}

.marginTop0 {
  margin-top: 0 !important;
}

.marginRight0 {
  margin-right: 0 !important;
}

.marginBottom0 {
  margin-bottom: 0 !important;
}

.marginLeft0 {
  margin-left: 0 !important;
}

.cursor-default {
  cursor: default;
}

.cursor-pointer {
  cursor: pointer;
}

.dib {
  display: inline-block;
}

.width100 {
  width: 100%;
  height: 100%;
}

.ellipsis-alone {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-two {
  overflow: hidden;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

/* 弹性布局 */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
}

.flex-center-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-center-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.flex-column-center {
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* 浮动 */
.float-left {
  float: left;
}

.float-right {
  float: right;
}

.clear-fix:after {
  display: table;
  content: '';
  clear: both;
}
